package com.xcesys.extras.dataobject.system;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

import com.xcesys.extras.dataobject.VersionableObject;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Module")
public class Module extends VersionableObject {
	private static final long serialVersionUID = -4056956224967694194L;
	private String actionPackage;
	private String description;
	private Boolean editable = Boolean.TRUE;
	private String entry;

	public Module() {
		super();
	}

	public String getActionPackage() {
		return actionPackage;
	}

	public String getDescription() {
		return description;
	}

	public Boolean getEditable() {
		return editable;
	}

	public String getEntry() {
		return entry;
	}

	public void setActionPackage(String actionPackage) {
		Object oldValue = this.actionPackage;
		this.actionPackage = actionPackage;
		firePropertyChange("actionPackage", oldValue, actionPackage);
	}

	public void setDescription(String description) {
		Object oldValue = this.description;
		this.description = description;
		firePropertyChange("description", oldValue, description);
	}

	public void setEditable(Boolean editable) {
		Object oldValue = this.editable;
		this.editable = editable;
		firePropertyChange("editable", oldValue, editable);
	}

	public void setEntry(String entry) {
		Object oldValue = this.entry;
		this.entry = entry;
		firePropertyChange("entry", oldValue, entry);
	}

}
